home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / maximus / stbar20.zip / CONTENT.BAT < prev    next >
DOS Batch File  |  1996-04-09  |  974b  |  55 lines

  1. @echo off
  2. rem ==--=StarBar archive extractor batch file=--==
  3. rem        DOS BAT
  4. rem
  5. rem ========================================================================
  6. rem
  7. rem first parameter : Path to node-specific temp dir
  8. rem second parameter : Path and File to be examined
  9. rem
  10. rem ========================================================================
  11. rem
  12.  
  13. cd %1
  14.  
  15. if exist %1\*.arj goto ARJ
  16. if exist %1\*.zip goto ZIP
  17. if exist %1\*.lzh goto LHA
  18. if exist %1\*.rar goto UNRAR
  19. if exist %1\*.arc goto PKUNPAK
  20. if exist %1\*.zoo goto ZOO
  21. if exist %1\*.pak goto PAK
  22.  
  23. rem    Add any other archivers you wish to support here, then follow the
  24. rem    examples below on extracting the info...
  25.  
  26. :ARJ
  27. arj e -y %2 *.*
  28. goto end
  29.  
  30. :ZIP
  31. pkunzip -o %2 *.*
  32. goto end
  33.  
  34. :LHA
  35. lha e /m+c+ %2 *.*
  36. goto end
  37.  
  38. :UNRAR
  39. unrar e -o+ %2 *.*
  40. goto end
  41.  
  42. :PKUNPAK
  43. pkunpak -r %2 *.*
  44. goto end
  45.  
  46. :ZOO
  47. zoo.exe e %2 *.*
  48. goto end
  49.  
  50. :PAK
  51. pak e/WA %2 *.*
  52. goto end
  53.  
  54. :end
  55.